/*
*	File: CoreSubMorphTarget.h
*	Date: 12/18/2011
*	Author: Ivan Gao
*	Desc:
*/
#ifndef CORESUBMORPHTARGET_H_
#define CORESUBMORPHTARGET_H_
#include "CommonDef.h"
#include "CoreSubMesh.h"
#include "vector.h"
#include <vector>
using namespace std;
class SCoreSubMorphTarget
{
public:
	struct SBlendVertex
	{
		SVector3	position;
		SVector3	normal;
		vector<SCoreSubMesh::TextureCoordinate> textureCoords;
	};
public:
	SCoreSubMorphTarget ();
	~SCoreSubMorphTarget ();
	virtual void SetCoreSubMesh (SCoreSubMesh * pCoreSubMesh);
	const SCoreSubMesh * GetCoreSubMesh (void) const;
	int GetBlendVerticesCount (void) const;
	typedef vector<SBlendVertex *> SBlendVertexVector;
	SBlendVertexVector & GetBlendVertexVector (void);
	const SBlendVertexVector & GetBlendVertexVector (void) const;
	inline bool IsHaveBlendVertex (int nBlendVerexId)
	{
#pragma message (TODO("core sub morph target unimplemented."))
		return true;
	}

}; // SCoreSubMorphTarget
#endif // CORESUBMORPHTARGET_H_